package com.example.oauth2.repository;


import com.example.oauth2.entry.User;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface UserRepository extends JpaRepository<User, String> {
    User findByUserName(String userName);
    List<User> findAll();
}
